//
// Created by kevin on 2024/11/28.
//

#ifndef CPLUS_TEST_UTILS_H
#define CPLUS_TEST_UTILS_H


#include<string>
#include<iostream>
#include <fstream>
#include <cstring>

void writeBinaryFile(const char* fileName, const void* data, size_t dataSize);

size_t readBinaryFile(const char* fileName, void* buffer, size_t bufferSize);

void repmat(int *src, int m, int n, int *dst, int dm, int dn);
int getbitnums(int in);
#endif //CPLUS_TEST_UTILS_H
